package com.night.icm.model.business;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * DataSeriesDTO
 *
 * @author Liao ZhiYong
 * @date 2020/4/1
 */
@ApiModel(description = "图表数据")
@Getter
@Setter
@ToString(callSuper = true)
public class DataSeriesDTO {

    @ApiModelProperty(position = 100, value = "名称")
    private String name;

    @ApiModelProperty(position = 110, value = "值")
    private Long value;

    public DataSeriesDTO(String name, Long value) {
        this.name = name;
        this.value = value;
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

}